def dayup(df):
	dayup = 1.0
	for i in range(365):
		if i%7 in [0,6]:
			dayup*=(1-0.01)
		else:
			dayup*=(1+df)
	return dayup


dayFactor = 0.00
while dayup(dayFactor) < 37.78:
	dayFactor+=0.001
	
print("{:.3f}".format(dayFactor))
